package com.example.dubbo.storage.core.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

import javax.annotation.Resource;

@Slf4j
@Configuration
@EnableScheduling
public class ScheduleTask {

//    @Resource
//    private WechatManager wechatManager;

    @Scheduled(cron = "10 * * * * ?")
    private void configureTasks() {

        log.info("ScheduleTask execute....");
    }
}
